package com.ruoyi.web.controller.system.vo;

import lombok.Getter;

@Getter
public enum SysDataScopeEnum
{
    DATA_SCOPE0("1", "全部数据权限"),
    DATA_SCOPE1("2", "自定数据权限"),
    DATA_SCOPE2("3", "本部门数据权限"),
    DATA_SCOPE3("4", "本部门及一下数据权限"),
    DATA_SCOPE4("5", "仅本人数据权限");

    private String key;
    public String value;

    SysDataScopeEnum(String key, String value)
    {
        this.setKey(key);
        this.value = value;
    }

    public void setKey(String key)
    {
        this.key = key;
    }
}
